﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace commonlib
{
    interface ICentralDirectoryServices
    {
        long registerComponent(SystemComponent component);

        long getTxId();

        List<DataServer> getRegisteredDataServers();

        List<Client> getRegisteredClients();

        DataServer getDataServer(string name);

        void addKey(string newKey,string servers);

        string getServersContainingKey(string key);
        
    }
}
